package com.amigo.online.provider.ffmpeg.entity;

import java.io.Serializable;

/**
 * @author 
 */
public class UserTbl implements Serializable {
    private Long id;

    private Integer balance;

    /**
     * 帐号
     */
    private String account;

    /**
     * 默认帐号
     */
    private Boolean accountDefault;

    /**
     * 昵称
     */
    private String nickname;

    /**
     * 性别
     */
    private String sex;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 手机号
     */
    private String mobilephone;

    /**
     * twitter OPENID
     */
    private String twitterOpenId;

    /**
     * facebook OPENID
     */
    private String facebookOpenId;

    /**
     * wechat OPENID
     */
    private String wechatOpenId;

    /**
     * 密码
     */
    private String password;

    /**
     * 密码hash
     */
    private String passwordHash;

    /**
     * 默认密码
     */
    private Boolean passwordDefault;

    /**
     * 国家
     */
    private Integer country;

    /**
     * 省份
     */
    private Integer province;

    /**
     * 城市
     */
    private Integer city;

    /**
     * 国家代码
     */
    private String countryCode;

    /**
     * 公司
     */
    private String company;

    /**
     * 工作
     */
    private String job;

    /**
     * 学校
     */
    private String school;

    /**
     * 生日
     */
    private Long birthday;

    /**
     * 情感状态:0保密，1单身，2恋爱中，3已婚
     */
    private Boolean love;

    /**
     * 签名
     */
    private String sign;

    /**
     * VIP
     */
    private Boolean vip;

    /**
     * 用户类型：0为客服人员，1为普通用户 2-amigo用户 3模特
     */
    private Boolean type;

    private Integer homeCountry;

    private Integer homeProvince;

    private Integer homeCity;

    /**
     * 实名认证
     */
    private Boolean verified;

    /**
     * 状态，1为正常，0为禁用
     */
    private Boolean status;

    private Long createdTime;

    private Long updatedTime;

    private Long verifiedTime;

    /**
     * 头像
     */
    private String avatar;

    private String avatarSmall;

    /**
     * 背景图片
     */
    private String background;

    /**
     * 是否是名人
     */
    private Boolean celebrity;

    /**
     * Token
     */
    private String token;

    /**
     * 是否可见:0所有人可见，1好友可见，2所有人不可见
     */
    private Boolean secret;

    /**
     * 点赞通知:1开启 2关闭
     */
    private Boolean notifyZan;

    /**
     * 评论通知:1开启 2关闭
     */
    private Boolean notifyComment;

    /**
     * 关注通知:1开启 2关闭
     */
    private Boolean notifyFollow;

    /**
     * 群组通知:1开启 2关闭
     */
    private Boolean notifyGroup;

    /**
     * 声音通知:1开启 2关闭
     */
    private Boolean notifyVoice;

    private String home;

    /**
     * 是否修改过性别 0 未修改过，1已修改过
     */
    private Integer sexModified;

    private Boolean opent;

    private Long closeTime;

    /**
     * 0
     */
    private Long openTime;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getBalance() {
        return balance;
    }

    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public Boolean getAccountDefault() {
        return accountDefault;
    }

    public void setAccountDefault(Boolean accountDefault) {
        this.accountDefault = accountDefault;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMobilephone() {
        return mobilephone;
    }

    public void setMobilephone(String mobilephone) {
        this.mobilephone = mobilephone;
    }

    public String getTwitterOpenId() {
        return twitterOpenId;
    }

    public void setTwitterOpenId(String twitterOpenId) {
        this.twitterOpenId = twitterOpenId;
    }

    public String getFacebookOpenId() {
        return facebookOpenId;
    }

    public void setFacebookOpenId(String facebookOpenId) {
        this.facebookOpenId = facebookOpenId;
    }

    public String getWechatOpenId() {
        return wechatOpenId;
    }

    public void setWechatOpenId(String wechatOpenId) {
        this.wechatOpenId = wechatOpenId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPasswordHash() {
        return passwordHash;
    }

    public void setPasswordHash(String passwordHash) {
        this.passwordHash = passwordHash;
    }

    public Boolean getPasswordDefault() {
        return passwordDefault;
    }

    public void setPasswordDefault(Boolean passwordDefault) {
        this.passwordDefault = passwordDefault;
    }

    public Integer getCountry() {
        return country;
    }

    public void setCountry(Integer country) {
        this.country = country;
    }

    public Integer getProvince() {
        return province;
    }

    public void setProvince(Integer province) {
        this.province = province;
    }

    public Integer getCity() {
        return city;
    }

    public void setCity(Integer city) {
        this.city = city;
    }

    public String getCountryCode() {
        return countryCode;
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public Long getBirthday() {
        return birthday;
    }

    public void setBirthday(Long birthday) {
        this.birthday = birthday;
    }

    public Boolean getLove() {
        return love;
    }

    public void setLove(Boolean love) {
        this.love = love;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public Boolean getVip() {
        return vip;
    }

    public void setVip(Boolean vip) {
        this.vip = vip;
    }

    public Boolean getType() {
        return type;
    }

    public void setType(Boolean type) {
        this.type = type;
    }

    public Integer getHomeCountry() {
        return homeCountry;
    }

    public void setHomeCountry(Integer homeCountry) {
        this.homeCountry = homeCountry;
    }

    public Integer getHomeProvince() {
        return homeProvince;
    }

    public void setHomeProvince(Integer homeProvince) {
        this.homeProvince = homeProvince;
    }

    public Integer getHomeCity() {
        return homeCity;
    }

    public void setHomeCity(Integer homeCity) {
        this.homeCity = homeCity;
    }

    public Boolean getVerified() {
        return verified;
    }

    public void setVerified(Boolean verified) {
        this.verified = verified;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public Long getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Long createdTime) {
        this.createdTime = createdTime;
    }

    public Long getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Long updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Long getVerifiedTime() {
        return verifiedTime;
    }

    public void setVerifiedTime(Long verifiedTime) {
        this.verifiedTime = verifiedTime;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getAvatarSmall() {
        return avatarSmall;
    }

    public void setAvatarSmall(String avatarSmall) {
        this.avatarSmall = avatarSmall;
    }

    public String getBackground() {
        return background;
    }

    public void setBackground(String background) {
        this.background = background;
    }

    public Boolean getCelebrity() {
        return celebrity;
    }

    public void setCelebrity(Boolean celebrity) {
        this.celebrity = celebrity;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Boolean getSecret() {
        return secret;
    }

    public void setSecret(Boolean secret) {
        this.secret = secret;
    }

    public Boolean getNotifyZan() {
        return notifyZan;
    }

    public void setNotifyZan(Boolean notifyZan) {
        this.notifyZan = notifyZan;
    }

    public Boolean getNotifyComment() {
        return notifyComment;
    }

    public void setNotifyComment(Boolean notifyComment) {
        this.notifyComment = notifyComment;
    }

    public Boolean getNotifyFollow() {
        return notifyFollow;
    }

    public void setNotifyFollow(Boolean notifyFollow) {
        this.notifyFollow = notifyFollow;
    }

    public Boolean getNotifyGroup() {
        return notifyGroup;
    }

    public void setNotifyGroup(Boolean notifyGroup) {
        this.notifyGroup = notifyGroup;
    }

    public Boolean getNotifyVoice() {
        return notifyVoice;
    }

    public void setNotifyVoice(Boolean notifyVoice) {
        this.notifyVoice = notifyVoice;
    }

    public String getHome() {
        return home;
    }

    public void setHome(String home) {
        this.home = home;
    }

    public Integer getSexModified() {
        return sexModified;
    }

    public void setSexModified(Integer sexModified) {
        this.sexModified = sexModified;
    }

    public Boolean getOpent() {
        return opent;
    }

    public void setOpent(Boolean opent) {
        this.opent = opent;
    }

    public Long getCloseTime() {
        return closeTime;
    }

    public void setCloseTime(Long closeTime) {
        this.closeTime = closeTime;
    }

    public Long getOpenTime() {
        return openTime;
    }

    public void setOpenTime(Long openTime) {
        this.openTime = openTime;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        UserTbl other = (UserTbl) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getBalance() == null ? other.getBalance() == null : this.getBalance().equals(other.getBalance()))
            && (this.getAccount() == null ? other.getAccount() == null : this.getAccount().equals(other.getAccount()))
            && (this.getAccountDefault() == null ? other.getAccountDefault() == null : this.getAccountDefault().equals(other.getAccountDefault()))
            && (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
            && (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
            && (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
            && (this.getMobilephone() == null ? other.getMobilephone() == null : this.getMobilephone().equals(other.getMobilephone()))
            && (this.getTwitterOpenId() == null ? other.getTwitterOpenId() == null : this.getTwitterOpenId().equals(other.getTwitterOpenId()))
            && (this.getFacebookOpenId() == null ? other.getFacebookOpenId() == null : this.getFacebookOpenId().equals(other.getFacebookOpenId()))
            && (this.getWechatOpenId() == null ? other.getWechatOpenId() == null : this.getWechatOpenId().equals(other.getWechatOpenId()))
            && (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
            && (this.getPasswordHash() == null ? other.getPasswordHash() == null : this.getPasswordHash().equals(other.getPasswordHash()))
            && (this.getPasswordDefault() == null ? other.getPasswordDefault() == null : this.getPasswordDefault().equals(other.getPasswordDefault()))
            && (this.getCountry() == null ? other.getCountry() == null : this.getCountry().equals(other.getCountry()))
            && (this.getProvince() == null ? other.getProvince() == null : this.getProvince().equals(other.getProvince()))
            && (this.getCity() == null ? other.getCity() == null : this.getCity().equals(other.getCity()))
            && (this.getCountryCode() == null ? other.getCountryCode() == null : this.getCountryCode().equals(other.getCountryCode()))
            && (this.getCompany() == null ? other.getCompany() == null : this.getCompany().equals(other.getCompany()))
            && (this.getJob() == null ? other.getJob() == null : this.getJob().equals(other.getJob()))
            && (this.getSchool() == null ? other.getSchool() == null : this.getSchool().equals(other.getSchool()))
            && (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
            && (this.getLove() == null ? other.getLove() == null : this.getLove().equals(other.getLove()))
            && (this.getSign() == null ? other.getSign() == null : this.getSign().equals(other.getSign()))
            && (this.getVip() == null ? other.getVip() == null : this.getVip().equals(other.getVip()))
            && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
            && (this.getHomeCountry() == null ? other.getHomeCountry() == null : this.getHomeCountry().equals(other.getHomeCountry()))
            && (this.getHomeProvince() == null ? other.getHomeProvince() == null : this.getHomeProvince().equals(other.getHomeProvince()))
            && (this.getHomeCity() == null ? other.getHomeCity() == null : this.getHomeCity().equals(other.getHomeCity()))
            && (this.getVerified() == null ? other.getVerified() == null : this.getVerified().equals(other.getVerified()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getCreatedTime() == null ? other.getCreatedTime() == null : this.getCreatedTime().equals(other.getCreatedTime()))
            && (this.getUpdatedTime() == null ? other.getUpdatedTime() == null : this.getUpdatedTime().equals(other.getUpdatedTime()))
            && (this.getVerifiedTime() == null ? other.getVerifiedTime() == null : this.getVerifiedTime().equals(other.getVerifiedTime()))
            && (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
            && (this.getAvatarSmall() == null ? other.getAvatarSmall() == null : this.getAvatarSmall().equals(other.getAvatarSmall()))
            && (this.getBackground() == null ? other.getBackground() == null : this.getBackground().equals(other.getBackground()))
            && (this.getCelebrity() == null ? other.getCelebrity() == null : this.getCelebrity().equals(other.getCelebrity()))
            && (this.getToken() == null ? other.getToken() == null : this.getToken().equals(other.getToken()))
            && (this.getSecret() == null ? other.getSecret() == null : this.getSecret().equals(other.getSecret()))
            && (this.getNotifyZan() == null ? other.getNotifyZan() == null : this.getNotifyZan().equals(other.getNotifyZan()))
            && (this.getNotifyComment() == null ? other.getNotifyComment() == null : this.getNotifyComment().equals(other.getNotifyComment()))
            && (this.getNotifyFollow() == null ? other.getNotifyFollow() == null : this.getNotifyFollow().equals(other.getNotifyFollow()))
            && (this.getNotifyGroup() == null ? other.getNotifyGroup() == null : this.getNotifyGroup().equals(other.getNotifyGroup()))
            && (this.getNotifyVoice() == null ? other.getNotifyVoice() == null : this.getNotifyVoice().equals(other.getNotifyVoice()))
            && (this.getHome() == null ? other.getHome() == null : this.getHome().equals(other.getHome()))
            && (this.getSexModified() == null ? other.getSexModified() == null : this.getSexModified().equals(other.getSexModified()))
            && (this.getOpent() == null ? other.getOpent() == null : this.getOpent().equals(other.getOpent()))
            && (this.getCloseTime() == null ? other.getCloseTime() == null : this.getCloseTime().equals(other.getCloseTime()))
            && (this.getOpenTime() == null ? other.getOpenTime() == null : this.getOpenTime().equals(other.getOpenTime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getBalance() == null) ? 0 : getBalance().hashCode());
        result = prime * result + ((getAccount() == null) ? 0 : getAccount().hashCode());
        result = prime * result + ((getAccountDefault() == null) ? 0 : getAccountDefault().hashCode());
        result = prime * result + ((getNickname() == null) ? 0 : getNickname().hashCode());
        result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
        result = prime * result + ((getEmail() == null) ? 0 : getEmail().hashCode());
        result = prime * result + ((getMobilephone() == null) ? 0 : getMobilephone().hashCode());
        result = prime * result + ((getTwitterOpenId() == null) ? 0 : getTwitterOpenId().hashCode());
        result = prime * result + ((getFacebookOpenId() == null) ? 0 : getFacebookOpenId().hashCode());
        result = prime * result + ((getWechatOpenId() == null) ? 0 : getWechatOpenId().hashCode());
        result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
        result = prime * result + ((getPasswordHash() == null) ? 0 : getPasswordHash().hashCode());
        result = prime * result + ((getPasswordDefault() == null) ? 0 : getPasswordDefault().hashCode());
        result = prime * result + ((getCountry() == null) ? 0 : getCountry().hashCode());
        result = prime * result + ((getProvince() == null) ? 0 : getProvince().hashCode());
        result = prime * result + ((getCity() == null) ? 0 : getCity().hashCode());
        result = prime * result + ((getCountryCode() == null) ? 0 : getCountryCode().hashCode());
        result = prime * result + ((getCompany() == null) ? 0 : getCompany().hashCode());
        result = prime * result + ((getJob() == null) ? 0 : getJob().hashCode());
        result = prime * result + ((getSchool() == null) ? 0 : getSchool().hashCode());
        result = prime * result + ((getBirthday() == null) ? 0 : getBirthday().hashCode());
        result = prime * result + ((getLove() == null) ? 0 : getLove().hashCode());
        result = prime * result + ((getSign() == null) ? 0 : getSign().hashCode());
        result = prime * result + ((getVip() == null) ? 0 : getVip().hashCode());
        result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
        result = prime * result + ((getHomeCountry() == null) ? 0 : getHomeCountry().hashCode());
        result = prime * result + ((getHomeProvince() == null) ? 0 : getHomeProvince().hashCode());
        result = prime * result + ((getHomeCity() == null) ? 0 : getHomeCity().hashCode());
        result = prime * result + ((getVerified() == null) ? 0 : getVerified().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getCreatedTime() == null) ? 0 : getCreatedTime().hashCode());
        result = prime * result + ((getUpdatedTime() == null) ? 0 : getUpdatedTime().hashCode());
        result = prime * result + ((getVerifiedTime() == null) ? 0 : getVerifiedTime().hashCode());
        result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode());
        result = prime * result + ((getAvatarSmall() == null) ? 0 : getAvatarSmall().hashCode());
        result = prime * result + ((getBackground() == null) ? 0 : getBackground().hashCode());
        result = prime * result + ((getCelebrity() == null) ? 0 : getCelebrity().hashCode());
        result = prime * result + ((getToken() == null) ? 0 : getToken().hashCode());
        result = prime * result + ((getSecret() == null) ? 0 : getSecret().hashCode());
        result = prime * result + ((getNotifyZan() == null) ? 0 : getNotifyZan().hashCode());
        result = prime * result + ((getNotifyComment() == null) ? 0 : getNotifyComment().hashCode());
        result = prime * result + ((getNotifyFollow() == null) ? 0 : getNotifyFollow().hashCode());
        result = prime * result + ((getNotifyGroup() == null) ? 0 : getNotifyGroup().hashCode());
        result = prime * result + ((getNotifyVoice() == null) ? 0 : getNotifyVoice().hashCode());
        result = prime * result + ((getHome() == null) ? 0 : getHome().hashCode());
        result = prime * result + ((getSexModified() == null) ? 0 : getSexModified().hashCode());
        result = prime * result + ((getOpent() == null) ? 0 : getOpent().hashCode());
        result = prime * result + ((getCloseTime() == null) ? 0 : getCloseTime().hashCode());
        result = prime * result + ((getOpenTime() == null) ? 0 : getOpenTime().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", balance=").append(balance);
        sb.append(", account=").append(account);
        sb.append(", accountDefault=").append(accountDefault);
        sb.append(", nickname=").append(nickname);
        sb.append(", sex=").append(sex);
        sb.append(", email=").append(email);
        sb.append(", mobilephone=").append(mobilephone);
        sb.append(", twitterOpenId=").append(twitterOpenId);
        sb.append(", facebookOpenId=").append(facebookOpenId);
        sb.append(", wechatOpenId=").append(wechatOpenId);
        sb.append(", password=").append(password);
        sb.append(", passwordHash=").append(passwordHash);
        sb.append(", passwordDefault=").append(passwordDefault);
        sb.append(", country=").append(country);
        sb.append(", province=").append(province);
        sb.append(", city=").append(city);
        sb.append(", countryCode=").append(countryCode);
        sb.append(", company=").append(company);
        sb.append(", job=").append(job);
        sb.append(", school=").append(school);
        sb.append(", birthday=").append(birthday);
        sb.append(", love=").append(love);
        sb.append(", sign=").append(sign);
        sb.append(", vip=").append(vip);
        sb.append(", type=").append(type);
        sb.append(", homeCountry=").append(homeCountry);
        sb.append(", homeProvince=").append(homeProvince);
        sb.append(", homeCity=").append(homeCity);
        sb.append(", verified=").append(verified);
        sb.append(", status=").append(status);
        sb.append(", createdTime=").append(createdTime);
        sb.append(", updatedTime=").append(updatedTime);
        sb.append(", verifiedTime=").append(verifiedTime);
        sb.append(", avatar=").append(avatar);
        sb.append(", avatarSmall=").append(avatarSmall);
        sb.append(", background=").append(background);
        sb.append(", celebrity=").append(celebrity);
        sb.append(", token=").append(token);
        sb.append(", secret=").append(secret);
        sb.append(", notifyZan=").append(notifyZan);
        sb.append(", notifyComment=").append(notifyComment);
        sb.append(", notifyFollow=").append(notifyFollow);
        sb.append(", notifyGroup=").append(notifyGroup);
        sb.append(", notifyVoice=").append(notifyVoice);
        sb.append(", home=").append(home);
        sb.append(", sexModified=").append(sexModified);
        sb.append(", opent=").append(opent);
        sb.append(", closeTime=").append(closeTime);
        sb.append(", openTime=").append(openTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}